﻿using System;
using System.Collections.Generic;

namespace CRM.Infrastructure.EFCore.Mysql
{
    public partial class Product
    {
        /// <summary>
        /// 产品唯一标识符
        /// </summary>
        public string ProductId { get; set; } = null!;
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 记录创建时间
        /// </summary>
        public DateTime? ProductCreateTime { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string? TypeId { get; set; }
        /// <summary>
        /// 产品图片
        /// </summary>
        public string? ProductImg { get; set; }
        /// <summary>
        /// 产品简介
        /// </summary>
        public string? ProductExplain { get; set; }
        /// <summary>
        /// 是否上架
        /// </summary>
        public int? ProductList { get; set; }
        /// <summary>
        /// 折扣结束时间
        /// </summary>
        public DateTime? EndDatetime { get; set; }
        /// <summary>
        /// 折扣开始时间
        /// </summary>
        public DateTime? StartDatetime { get; set; }
        /// <summary>
        /// 折扣价格
        /// </summary>
        public decimal? DiscountPrice { get; set; }
        /// <summary>
        /// 销量
        /// </summary>
        public int? ProductSalesVolume { get; set; }
    }
}
